home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-02-01 | 796 b | 15 lines | [TEXT/ToyS] |
- tell application "MyVidEditor©"
- activate
- if Extract track AIFF from movie file "Macintosh HD:NoxAN movie" to movie file "Macintosh HD:temp audio" Compress AIFF yes then
- if Add track video from movie file "Macintosh HD:NoxAN movie" with movie file "Macintosh HD:temp audio" to movie file "Macintosh HD:temp merged" then
- -- this adds the audio from other movie to our temp video movie and saves it in temp merged
- if Flatten movie file "Macintosh HD:temp merged" to movie file "Macintosh HD:result flattened" then
- tell application "Finder"
- --have the finder clean up our temp files. This is optional so delete it if you want to keep them around
- delete file "Macintosh HD:temp audio"
- delete file "Macintosh HD:temp merged"
- end tell
- end if
- end if
- end if
- end tell